<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<script type="text/javascript">
window.servletContext = '${pageContext.request.contextPath}';
window.absoluteURL = function (path) {
	if (path.charAt(0) != '/') {
		path = "/" + path;
	}
	return window.servletContext + path;
}
window.webService = function (path) {
	return window.absoluteURL(path + ".ws");
}
</script>